#pragma once

#include "importmodule.h"
#include "piocore.h"

class FileImportModule : public ImportModule
{
public:
    FileImportModule(PioCore * core);
    virtual ~FileImportModule();
    virtual QString scheme();
    virtual QString description();
    virtual bool initialize(QString url);
    virtual int count();
    virtual QString title(int i);
    virtual QPixmap thumbnail(int i, QSize size);
    virtual bool import(int i, QString path);
    virtual bool remove(int i);
    virtual bool eject();
    virtual void clear();
private:
    PioCore * m_core;
    QString m_path;
    QStringList m_files;
};
